#include "VoiceSpeakWorker.h"
#include "ListenAndSpeak.h"

VoiceSpeakWorker::VoiceSpeakWorker(ListenAndSpeak* module)
    : voiceModule(module)
{}

void VoiceSpeakWorker::speak(const QString& text)
{
    voiceModule->speak_out(text.toStdString());
}
